package io.renren.modules.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.generator.dao.SheeppriceDao;
import io.renren.modules.generator.entity.SheeppriceEntity;
import io.renren.modules.generator.service.SheeppriceService;



@Service("sheeppriceService")
public class SheeppriceServiceImpl implements SheeppriceService {
	@Autowired
	private SheeppriceDao sheeppriceDao;
	
	@Override
	public SheeppriceEntity queryObject(Integer id){
		return sheeppriceDao.queryObject(id);
	}
	
	@Override
	public List<SheeppriceEntity> queryList(Map<String, Object> map){
		return sheeppriceDao.queryList(map);
	}
	@Override
	public List<SheeppriceEntity> timeList(Map<String, Object> map){
		return sheeppriceDao.timeList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return sheeppriceDao.queryTotal(map);
	}
	
	@Override
	public int timeTotal(Map<String, Object> map){
		return sheeppriceDao.timeTotal(map);
	}
	
	@Override
	public void save(SheeppriceEntity sheepprice){
		sheeppriceDao.save(sheepprice);
	}
	
	@Override
	public void update(SheeppriceEntity sheepprice){
		sheeppriceDao.update(sheepprice);
	}
	
	@Override
	public void delete(Integer id){
		sheeppriceDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		sheeppriceDao.deleteBatch(ids);
	}
	
}
